package ru.maxmatveev.beanmapper;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author Max Matveev
 *         Date: Jan 25, 2009
 *         Time: 12:37:48 PM
 */
@SuppressWarnings({"MissingClassJavaDoc"})
public class ParametrizedType <T> {
    /** Field properties  */
    private List<T> properties;

    private Map<String, Set<T>> mapProperty;
    
    /**
     * Method getProperties returns the properties of this ParametrizedType object.
     *
     * @return the properties (type List<T>) of this ParametrizedType object.
     */

    public List<T> getProperties() {
        return properties;
    }

    /**
     * Method setProperties sets the properties of this ParametrizedType object.
     *
     * @param properties the properties of this ParametrizedType object.
     *
     */

    public void setProperties(final List<T> properties) {
        this.properties = properties;
    }

    @Override
    public String toString() {
        return "ParametrizedType{" +
                "properties=" + properties +
                '}';
    }

    public Map<String, Set<T>> getMapProperty() {
        return mapProperty;
    }

    public void setMapProperty(Map<String, Set<T>> mapProperty) {
        this.mapProperty = mapProperty;
    }
}
